package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆出厂申请流水表
 * </p>
 *
 * @author neo
 * @since 2020-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CrmCarRecord对象", description="车辆出厂申请流水表")
public class CrmCarRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "任务id")
    @TableField("st_id")
    private Long stId;

    @ApiModelProperty(value = "状态id")
    @TableField("status_enum_id")
    private Integer statusEnumId;

    @ApiModelProperty(value = "当前节点id")
    @TableField("current_node_id")
    private String currentNodeId;

    @ApiModelProperty(value = "审批意见")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "父节点id")
    @TableField("p_node_id")
    private String pNodeId;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_id")
    private String createUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否已删除0：未删除  1：已删除")
    @TableField("is_deleted")
    private Integer isDeleted;


}
